package com.prodog.gamemodule.fight.effect.handler;

import com.prodog.gamemodule.fight.effect.entity.FightEffect;
import com.prodog.gamemodule.fight.session.FightSession;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Map;

@Data
@AllArgsConstructor
public abstract class AbstractEffectHandler implements EffectHandler {
    private FightSession session;
    private FightEffect effect;

    public Map<String, Object> getParams() {
        return effect.getParams();
    }
}
